/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
//import org.android.agoo.common.AgooConstants;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class BannerListEntity {
    @NotNull
    private final List<PopupSus> popup;
    @Nullable
    private final List<PopupSus> suspendAd;

    public BannerListEntity(@NotNull List<PopupSus> popup, @Nullable List<PopupSus> list) {
        Intrinsics.checkNotNullParameter(popup, "popup");
        this.popup = popup;
        this.suspendAd = list;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ BannerListEntity copy$default(BannerListEntity bannerListEntity, List list, List list2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            list = bannerListEntity.popup;
        }
        if ((i2 & 2) != 0) {
            list2 = bannerListEntity.suspendAd;
        }
        return bannerListEntity.copy(list, list2);
    }

    @NotNull
    public final List<PopupSus> component1() {
        return this.popup;
    }

    @Nullable
    public final List<PopupSus> component2() {
        return this.suspendAd;
    }

    @NotNull
    public final BannerListEntity copy(@NotNull List<PopupSus> popup, @Nullable List<PopupSus> list) {
        Intrinsics.checkNotNullParameter(popup, "popup");
        return new BannerListEntity(popup, list);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof BannerListEntity)) {
            return false;
        }
        BannerListEntity bannerListEntity = (BannerListEntity) obj;
        return Intrinsics.areEqual(this.popup, bannerListEntity.popup) && Intrinsics.areEqual(this.suspendAd, bannerListEntity.suspendAd);
    }

    @NotNull
    public final List<PopupSus> getPopup() {
        return this.popup;
    }

    @Nullable
    public final List<PopupSus> getSuspendAd() {
        return this.suspendAd;
    }

    public int hashCode() {
        int hashCode = this.popup.hashCode() * 31;
        List<PopupSus> list = this.suspendAd;
        return hashCode + (list == null ? 0 : list.hashCode());
    }

    @NotNull
    public String toString() {
        return "BannerListEntity(popup=" + this.popup + ", suspendAd=" + this.suspendAd + ')';
    }
}